#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QTcpSocket>
#include <QTextEdit>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QMdiArea>
#include <QMdiSubWindow>
#include <QSignalMapper>
#include <QMenu>
#include <QMenuBar>
#include <QStatusBar>
#include <QAction>
#include "ConfigureWidget.h"

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();
protected:
    void closeEvent(QCloseEvent *event);
private:
    QMenu *fileMenu;
    QMenu *windowMenu;
    QMdiArea *mdiArea;
    QSignalMapper *windowMapper;
    MdiChild *activeMdiChild();
private slots:
    void addconifg();
    void setActiveSubWindow(QWidget*);
    void updateWindowMenu();
};

#endif // MAINWINDOW_H
